package com.imooc.bilibili.dao;

import com.imooc.bilibili.domain.UserFollowing;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserFollowIngDao {

    void delete(Long userId, Long followingId);

    void addFollowing(UserFollowing userFollowing);

    List<UserFollowing> getUserFollowingListById(Long userId);

    List<UserFollowing> getUserFans(@Param("followingId") Long userId);
}
